GtkRecentChooserMenu: Set current uri before activating an item.
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>
Mon, 28 Apr 2014 17:46:48 +0000 (14:46 -0300)
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>
Mon, 28 Apr 2014 20:08:12 +0000 (17:08 -0300)
commitd1467c191de55f9a2ef047f09cb605ced1448e21
tree112f5c8c73f5612ff91aa4f962b6341a6069ea99
parent2dcf6c6b718db189412453393f90c76aa189b527
GtkRecentChooserMenu: Set current uri before activating an item.

When activating an item using mnemonics GtkRecentChooserMenu does not select a
item before calling the item-activated signal thus
gtk_recent_chooser_get_current_uri() always return the last selected item
instead of the activated one.

Fixes Bug 495105 "Open recent file keyboard shortcuts do not work correctly"
gtk/gtkrecentchoosermenu.c